
export BZIP2_INSTALL_HNP_PATH=${HNP_PUBLIC_PATH}/bzip2.org/bzip2_1.0.8

${CMAKE} \
    -DCMAKE_TOOLCHAIN_FILE=${TOOLCHAIN_FILE} \
    -DCMAKE_INSTALL_PREFIX=${BZIP2_INSTALL_HNP_PATH} \

make VERBOSE=1 
make PREFIX=${BZIP2_INSTALL_HNP_PATH} install

cp hnp.json ${BZIP2_INSTALL_HNP_PATH}/
pushd ${BZIP2_INSTALL_HNP_PATH}/../
    ${HNP_TOOL} pack -i ${BZIP2_INSTALL_HNP_PATH} -o ${ARCHIVE_PATH}/
    tar -zvcf ${ARCHIVE_PATH}/ohos_bzip2_1.0.8.tar.gz bzip2_1.0.8/
popd